from logger_config import logger_factory


logger = logger_factory()


class BaseDatasource(object):
    def __init__(self):
        logger.info('init data source')

    def read_data(self) -> dict:
        logger.info('get data')
        return {}  # 明确返回空字典
